package com.unitedvision.persistence.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.CompanyModuleEntity;
import com.unitedvision.persistence.domain.ModuleEntity;

public interface CompanyModuleRepository extends JpaRepository<CompanyModuleEntity, Integer> {
	List<CompanyModuleEntity> findByModule(ModuleEntity module);
	List<CompanyModuleEntity> findByCompany(CompanyEntity company);
}
